package main

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	r.GET("xml", func(ctx *gin.Context) {
		ctx.XML(http.StatusOK, gin.H{
			"code":    0,
			"message": "xml",
		})
	})
	r.Run()
}
